method TaskClass.[Symbol.species]
Private
TaskClass.[Symbol.species](): PromiseConstructor

.then derives plain Promises, not Tasks — a derived promise has no recipe, and its constructor would be called with an executor, not a recipe. The chaining methods build real (lazy) Tasks explicitly instead.

Return Type

PromiseConstructor

Usage

import { TaskClass } from "lib/task/task.ts";